package edu.hut.bookshop.pojo;


public class Favorites {
    private Integer favId;

    private Integer userId;

    private Integer bookId;

    private Boolean fstatus;
    // private Integer quantity;
    private Book book_info;//从数据库获取image，等一个jiaju对象到前端

    public Integer getFavId() {
        return favId;
    }

    public void setFavId(Integer favId) {
        this.favId = favId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public Boolean getFstatus() {
        return fstatus;
    }

    public void setStatus(Boolean status) {
        this.fstatus = status;
    }

    public Book getBook_info() {
        return book_info;
    }

    public void setBook_info(Book book_info) {
        this.book_info = book_info;
    }

    @Override
    public String toString() {
        return "Favorites{" +
                "favId=" + favId +
                ", userId=" + userId +
                ", bookId=" + bookId +
                ", fstatus=" + fstatus +
                ", book_info=" + book_info +
                '}';
    }
}

